<%@page contentType="text/html; charset=UTF-8"  language="java"%>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记页面</title>
</head>
<body bgcolor="#00ffff">
     <%
         //获取重定向传递过来的数据
      String name = request.getParameter("username");
      String pw = request.getParameter("password");
      //在页面上显示数据
         out.peintln("你的用户名是："+ name +"<br>");
         out.peintln("你的密码是："+pw+"<br>");
     %>

</body>
</html>